package com.amop.valcheck.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 组合信息 ValFund
 * 
 * @author taolin
 */
public class ValFund extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 组合代码 */
    private String fundCode;

    /** 组合全称 */
    private String fundLngName;

    /** 组合简称 */
    private String fundShtName;

    /** 组合类型 */
    private String fundType;

    /** 估值时点 */
    private String valtDt;

    /** 对账时点 */
    private String checkDt;

    /** 是否值班组合 */
    private String isZb;

    /** 估值会计 */
    private String gzAcc;

    /** 会计B角 */
    private String gzAccB;

    public Long getId()
    {
        return id;
    }

    public void setId(Long menuId)
    {
        this.id = id;
    }

    @NotBlank(message = "组合代码不能为空")
    @Size(min = 0, max = 20, message = "组合代码长度不能超过20个字符")
    public String getFundCode()
    {
        return fundCode;
    }

    public void setFundCode(String fundCode)
    {
        this.fundCode = fundCode;
    }

    public String getFundLngName()
    {
        return fundLngName;
    }

    public void setFundLngName(String fundLngName)
    {
        this.fundLngName = fundLngName;
    }

    public String getFundShtName() { return fundShtName; }

    public void setFundShtName(String fundShtName)
    {
        this.fundShtName = fundShtName;
    }

    public String getFundType()
    {
        return fundType;
    }

    public void setFundType(String fundType)
    {
        this.fundType = fundType;
    }

    public String getValtDt()
    {
        return valtDt;
    }

    public void setValtDt(String valtDt)
    {
        this.valtDt = valtDt;
    }

    public String getCheckDt()
    {
        return checkDt;
    }

    public String setCheckDt(String checkDt)
    {
        return checkDt;
    }

    public String getIsZb()
    {
        return isZb;
    }

    public void setIsZb(String isZb)
    {
        this.isZb = isZb;
    }

    public String getGzAcc()
    {
        return gzAcc;
    }

    public void setGzAcc(String gzAcc)
    {
        this.gzAcc = gzAcc;
    }

    public String getGzAccB()
    {
        return gzAccB;
    }

    public void setGzAccB(String gzAccB)
    {
        this.gzAccB = gzAccB;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("fundCode", getFundCode())
                .append("fundLngName", getFundLngName())
                .append("fundShtName", getFundShtName())
                .append("fundType", getFundType())
                .append("valtDt", getValtDt())
                .append("checkDt", getCheckDt())
                .append("isZb", getIsZb())
                .append("gzAcc", getGzAcc())
                .append("gzAccB", getGzAccB())
                .toString();
    }
}
